package com.toutiao.dao.model;



/**
 *
 */
public class News {

	/**
	 *
	 */
	private Integer id;

	/**
	 *板块
	 */
	private Integer cateId;

	/**
	 *标题
	 */
	private String title;

	/**
	 *来源
	 */
	private String source;

	/**
	 *内容
	 */
	private String content;

	/**
	 *根据content生成图片
	 */
	private String imgs;

	/**
	 *发布人
	 */
	private Integer userId;

	/**
	 *创建时间
	 */
	private java.util.Date createTime;

	/**
	 *修改时间
	 */
	private java.util.Date modifyTime;

	/**
	 *1图文2图片3视频
	 */
	private Integer type;

	/**
	 *0未删除1已删除
	 */
	private Integer isDel;

	/**
	 *是否热门
	 */
	private Integer isHot;

	/**
	 *1置顶
	 */
	private Integer isTop;

	public void setId(Integer id) {
		this.id=id;
	}

	public Integer getId() {
		return id;
	}

	public void setCateId(Integer cateId) {
		this.cateId=cateId;
	}

	public Integer getCateId() {
		return cateId;
	}

	public void setTitle(String title) {
		this.title=title == null ? title : title.trim();
	}

	public String getTitle() {
		return title;
	}

	public void setSource(String source) {
		this.source=source == null ? source : source.trim();
	}

	public String getSource() {
		return source;
	}

	public void setContent(String content) {
		this.content=content == null ? content : content.trim();
	}

	public String getContent() {
		return content;
	}

	public void setImgs(String imgs) {
		this.imgs=imgs == null ? imgs : imgs.trim();
	}

	public String getImgs() {
		return imgs;
	}

	public void setUserId(Integer userId) {
		this.userId=userId;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setCreateTime(java.util.Date createTime) {
		this.createTime=createTime;
	}

	public java.util.Date getCreateTime() {
		return createTime;
	}

	public void setModifyTime(java.util.Date modifyTime) {
		this.modifyTime=modifyTime;
	}

	public java.util.Date getModifyTime() {
		return modifyTime;
	}

	public void setType(Integer type) {
		this.type=type;
	}

	public Integer getType() {
		return type;
	}

	public void setIsDel(Integer isDel) {
		this.isDel=isDel;
	}

	public Integer getIsDel() {
		return isDel;
	}

	public void setIsHot(Integer isHot) {
		this.isHot=isHot;
	}

	public Integer getIsHot() {
		return isHot;
	}

	public void setIsTop(Integer isTop) {
		this.isTop=isTop;
	}

	public Integer getIsTop() {
		return isTop;
	}

}
